package com.person.modules.person.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.person.modules.person.entity.PunishmentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PunishmentDao extends BaseMapper<PunishmentEntity> {
    List<PunishmentEntity> getListByCompanyId(@Param("companyId")long companyId);
    List<PunishmentEntity> getList(@Param("companyId")long companyId,@Param("userId")long userId);

}
